package com.lv.mapper;

import com.lv.entity.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 我的代码-www.lv.com
 * @since 2021-06-30
 */

public interface StudentMapper extends BaseMapper<Student> {

    List<Student> findStudentScore();

    //@Select("SELECT * FROM student WHERE NAME=${name}  AND gender=${gender} ")
    Student byname(String name,String gender);


    List<Student> findByIds(@Param("ids") List<Integer> ids);

}
